package com.ruoyi.integral.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 积分商品对象 product_integral
 * 
 * @author ruoyi
 * @date 2024-08-02
 */
public class ProductIntegral extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String productImage;

    /** 活动标题 */
    @Excel(name = "活动标题")
    private String eventTitle;

    /** 兑换积分 */
    @Excel(name = "兑换积分")
    private Long redeemPoints;

    /** 限量 */
    @Excel(name = "限量")
    private Long limited;

    /** 限量剩余 */
    @Excel(name = "限量剩余")
    private Long limitedRemainder;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 商品id */
    @Excel(name = "商品id")
    private Long productId;

    /** 用户兑换数量限制 */
    @Excel(name = "用户兑换数量限制")
    private Long exchangeRemainder;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 上架状态 */
    @Excel(name = "上架状态")
    private Long productStatus;

    /** 热门推荐 */
    @Excel(name = "热门推荐")
    private Long recommendation;

    /** 规格尺码 */
    @Excel(name = "规格尺码")
    private String specSize;

    /** 颜色分类 */
    @Excel(name = "颜色分类")
    private String color;

    /** 规格图片 */
    @Excel(name = "规格图片")
    private String specImage;

    /** 库存 */
    @Excel(name = "库存")
    private Long inventory;

    /** 体积 */
    @Excel(name = "体积")
    private Long volume;

    /** 详情 */
    @Excel(name = "详情")
    private String detail;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductImage(String productImage) 
    {
        this.productImage = productImage;
    }

    public String getProductImage() 
    {
        return productImage;
    }
    public void setEventTitle(String eventTitle) 
    {
        this.eventTitle = eventTitle;
    }

    public String getEventTitle() 
    {
        return eventTitle;
    }
    public void setRedeemPoints(Long redeemPoints) 
    {
        this.redeemPoints = redeemPoints;
    }

    public Long getRedeemPoints() 
    {
        return redeemPoints;
    }
    public void setLimited(Long limited) 
    {
        this.limited = limited;
    }

    public Long getLimited() 
    {
        return limited;
    }
    public void setLimitedRemainder(Long limitedRemainder) 
    {
        this.limitedRemainder = limitedRemainder;
    }

    public Long getLimitedRemainder() 
    {
        return limitedRemainder;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setExchangeRemainder(Long exchangeRemainder) 
    {
        this.exchangeRemainder = exchangeRemainder;
    }

    public Long getExchangeRemainder() 
    {
        return exchangeRemainder;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setProductStatus(Long productStatus) 
    {
        this.productStatus = productStatus;
    }

    public Long getProductStatus() 
    {
        return productStatus;
    }
    public void setRecommendation(Long recommendation) 
    {
        this.recommendation = recommendation;
    }

    public Long getRecommendation() 
    {
        return recommendation;
    }
    public void setSpecSize(String specSize) 
    {
        this.specSize = specSize;
    }

    public String getSpecSize() 
    {
        return specSize;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setSpecImage(String specImage) 
    {
        this.specImage = specImage;
    }

    public String getSpecImage() 
    {
        return specImage;
    }
    public void setInventory(Long inventory) 
    {
        this.inventory = inventory;
    }

    public Long getInventory() 
    {
        return inventory;
    }
    public void setVolume(Long volume) 
    {
        this.volume = volume;
    }

    public Long getVolume() 
    {
        return volume;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productImage", getProductImage())
            .append("eventTitle", getEventTitle())
            .append("redeemPoints", getRedeemPoints())
            .append("limited", getLimited())
            .append("limitedRemainder", getLimitedRemainder())
            .append("createTime", getCreateTime())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("productId", getProductId())
            .append("exchangeRemainder", getExchangeRemainder())
            .append("unit", getUnit())
            .append("productStatus", getProductStatus())
            .append("recommendation", getRecommendation())
            .append("specSize", getSpecSize())
            .append("color", getColor())
            .append("specImage", getSpecImage())
            .append("inventory", getInventory())
            .append("volume", getVolume())
            .append("detail", getDetail())
            .toString();
    }
}
